import axios from '../configs/axios.config'

/**
 * 获取验证码
 * @param data
 * @returns {*}
 */
export const getSmsCode = (data) => {
  return axios({
    url: '/calculate/sendYZM',
    method: 'get',
    params: data
  })
}

/**
 * 获取微信JS_SDK配置信息
 * @param data
 * @returns {*}
 */
export const getWeChatJsJDKConfig = (data) => {
  return axios({
    url: '/wx/getWxShareSignature',
    method: 'get',
    params: data
  })
}
